import cs543.library.rmi.RmiClientInterface;
import org.json.JSONArray;

public class RemoteEcho extends RmiClientInterface {
public RemoteEcho (String name) {
super (name);
}

public String getEcho () {
JSONArray args = new JSONArray ();
String ret = 0;
JSONArray rep = invoque ("Echo", "getEcho", args);
try{
ret = rep.getString (0);
} catch (Exception e) {}
return ret;
}
}